<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: Material Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_material.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Material Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_polygon_8h_source.html">Polygon.h</a>&gt;</code></p>

<p><a href="struct_material-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a03682b58e2fa63d7dde835c731ad15d5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a03682b58e2fa63d7dde835c731ad15d5">BLEND_TYPE</a> { <a class="el" href="struct_material.html#a03682b58e2fa63d7dde835c731ad15d5aba76a5434b835451b8dd25d629c2607c">MTL_SOLID</a> = 1, 
<a class="el" href="struct_material.html#a03682b58e2fa63d7dde835c731ad15d5a1edca6b8a06e4a7b19a7c332aec4a40d">MTL_TRANSLUCENT</a> = 2, 
<a class="el" href="struct_material.html#a03682b58e2fa63d7dde835c731ad15d5a1f20b657606a788ea3f63d0b71e7a59f">MTL_ADDITIVE</a> = 4
 }</td></tr>
<tr class="memitem:a520bcbf3d8b173b0cbbe84e8c22dac1f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="struct_material.html#a520bcbf3d8b173b0cbbe84e8c22dac1fa89e33f1a5c91b45382a002b9a3ae1570">NAMELEN</a> = 32
 }</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a137e987401b63eb7c6c27c3e38bc74b5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a137e987401b63eb7c6c27c3e38bc74b5">Material</a> ()</td></tr>
<tr class="memitem:a2c19452d71f54075df8f5405b03129f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a2c19452d71f54075df8f5405b03129f4">~Material</a> ()</td></tr>
<tr class="memitem:a64899b6820f52ecc9eac8fda9316813c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a64899b6820f52ecc9eac8fda9316813c">operator==</a> (const <a class="el" href="struct_material.html">Material</a> &amp;m) const </td></tr>
<tr class="memitem:aaba0d4cf45db1101fa31360fe7a4bdb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#aaba0d4cf45db1101fa31360fe7a4bdb5">Clear</a> ()</td></tr>
<tr class="memitem:a6d91a735da85f4b71e8a3c72cd41791e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a6d91a735da85f4b71e8a3c72cd41791e">IsSolid</a> () const </td></tr>
<tr class="memitem:a68165fc0818d3dfea81beb28ea82964b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a68165fc0818d3dfea81beb28ea82964b">IsTranslucent</a> () const </td></tr>
<tr class="memitem:ada5a8c50624e5e3517a696e724f085af"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#ada5a8c50624e5e3517a696e724f085af">IsGlowing</a> () const </td></tr>
<tr class="memitem:a9dd52a511289bfc29737084df23d2b2d"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a9dd52a511289bfc29737084df23d2b2d">GetShader</a> (int n) const </td></tr>
<tr class="memitem:aff217998115a778a558e816da9107173"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#aff217998115a778a558e816da9107173">CreateThumbnail</a> (int size=128)</td></tr>
<tr class="memitem:a73ffea2fc38dda32225057a5e08f70e5"><td class="memItemLeft" align="right" valign="top">DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a73ffea2fc38dda32225057a5e08f70e5">GetThumbColor</a> (int i, int j, int size)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a4a6a284293154934980998c66e07177a"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a4a6a284293154934980998c66e07177a">TYPENAME</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae4469bbe1045ff827b5172edb07ec787"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#ae4469bbe1045ff827b5172edb07ec787">name</a> [<a class="el" href="struct_material.html#a520bcbf3d8b173b0cbbe84e8c22dac1fa89e33f1a5c91b45382a002b9a3ae1570">NAMELEN</a>]</td></tr>
<tr class="memitem:aec6903f5ffa2346a7fcf5c51ed870d68"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#aec6903f5ffa2346a7fcf5c51ed870d68">shader</a> [<a class="el" href="struct_material.html#a520bcbf3d8b173b0cbbe84e8c22dac1fa89e33f1a5c91b45382a002b9a3ae1570">NAMELEN</a>]</td></tr>
<tr class="memitem:a7ccfd56c0310ca12545afb515e81b85f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color_value.html">ColorValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a7ccfd56c0310ca12545afb515e81b85f">Ka</a></td></tr>
<tr class="memitem:a05b646c99f9ab5df7092109916b506a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color_value.html">ColorValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a05b646c99f9ab5df7092109916b506a6">Kd</a></td></tr>
<tr class="memitem:a03326968d7c667605aa2f70f8a551444"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color_value.html">ColorValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a03326968d7c667605aa2f70f8a551444">Ks</a></td></tr>
<tr class="memitem:ae0c2078b3d06c40fb9f875328e48458b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color_value.html">ColorValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#ae0c2078b3d06c40fb9f875328e48458b">Ke</a></td></tr>
<tr class="memitem:a40f9d86ecf678d45c4334f5d57a6cba7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a40f9d86ecf678d45c4334f5d57a6cba7">power</a></td></tr>
<tr class="memitem:a6d9386e552d54e3af046e6ac82344b08"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a6d9386e552d54e3af046e6ac82344b08">brilliance</a></td></tr>
<tr class="memitem:a9a2a6dbf9813485b5ff99b4ae823ccb3"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a9a2a6dbf9813485b5ff99b4ae823ccb3">bump</a></td></tr>
<tr class="memitem:a53984e10e1834eceb1b74d18a0f01021"><td class="memItemLeft" align="right" valign="top">DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a53984e10e1834eceb1b74d18a0f01021">blend</a></td></tr>
<tr class="memitem:a0e8b3aa08dcf57340fea05bbdf05ea4a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a0e8b3aa08dcf57340fea05bbdf05ea4a">shadow</a></td></tr>
<tr class="memitem:a9e0108950d9f5491378521d66ac62cce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a9e0108950d9f5491378521d66ac62cce">luminous</a></td></tr>
<tr class="memitem:a1d848bfac5c7f17f91557fd23c44b101"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a1d848bfac5c7f17f91557fd23c44b101">tex_diffuse</a></td></tr>
<tr class="memitem:a97ced80ac2d8c1f0ef775477990af075"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a97ced80ac2d8c1f0ef775477990af075">tex_specular</a></td></tr>
<tr class="memitem:a47ed067eab2b560e370504d81852b935"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a47ed067eab2b560e370504d81852b935">tex_bumpmap</a></td></tr>
<tr class="memitem:a9fa2bcd7f6ed2b43050629b55b87f030"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a9fa2bcd7f6ed2b43050629b55b87f030">tex_emissive</a></td></tr>
<tr class="memitem:a626e419ce051501f1e42053556e7da0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a626e419ce051501f1e42053556e7da0f">tex_alternate</a></td></tr>
<tr class="memitem:a84da46b60cffcfa54aec42729a632538"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a84da46b60cffcfa54aec42729a632538">tex_detail</a></td></tr>
<tr class="memitem:ad1352cb440d739d1d1c3cac9206a1882"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#ad1352cb440d739d1d1c3cac9206a1882">ambient_color</a></td></tr>
<tr class="memitem:a1547c9ea472db2db3bbe30ce41b701ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a1547c9ea472db2db3bbe30ce41b701ab">diffuse_color</a></td></tr>
<tr class="memitem:acf865f0ffed7c19e627cc3a63d2ebafa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#acf865f0ffed7c19e627cc3a63d2ebafa">specular_color</a></td></tr>
<tr class="memitem:a5f0aae034787f03b5007e579e57ad597"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a5f0aae034787f03b5007e579e57ad597">emissive_color</a></td></tr>
<tr class="memitem:a38c5aaa9fa49e490963ed174c5a528a6"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a38c5aaa9fa49e490963ed174c5a528a6">ambient_value</a></td></tr>
<tr class="memitem:a1d317e0043a5f3b63af5f7d15b107024"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a1d317e0043a5f3b63af5f7d15b107024">diffuse_value</a></td></tr>
<tr class="memitem:a0454007b787a706776be8d0e4441f202"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a0454007b787a706776be8d0e4441f202">specular_value</a></td></tr>
<tr class="memitem:a6d8d6fed7762c9cfc002f7de00e3345b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#a6d8d6fed7762c9cfc002f7de00e3345b">emissive_value</a></td></tr>
<tr class="memitem:afef9c383645db3df7ab524bba19ec45f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bitmap.html">Bitmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_material.html#afef9c383645db3df7ab524bba19ec45f">thumbnail</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00058">58</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a520bcbf3d8b173b0cbbe84e8c22dac1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a520bcbf3d8b173b0cbbe84e8c22dac1fa89e33f1a5c91b45382a002b9a3ae1570"></a>NAMELEN</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00063">63</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a03682b58e2fa63d7dde835c731ad15d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="struct_material.html#a03682b58e2fa63d7dde835c731ad15d5">Material::BLEND_TYPE</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a03682b58e2fa63d7dde835c731ad15d5aba76a5434b835451b8dd25d629c2607c"></a>MTL_SOLID</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a03682b58e2fa63d7dde835c731ad15d5a1edca6b8a06e4a7b19a7c332aec4a40d"></a>MTL_TRANSLUCENT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a03682b58e2fa63d7dde835c731ad15d5a1f20b657606a788ea3f63d0b71e7a59f"></a>MTL_ADDITIVE</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00062">62</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a137e987401b63eb7c6c27c3e38bc74b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Material::Material </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00474">474</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2c19452d71f54075df8f5405b03129f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Material::~Material </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00491">491</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaba0d4cf45db1101fa31360fe7a4bdb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::Clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00537">537</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aff217998115a778a558e816da9107173"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Material::CreateThumbnail </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em> = <code>128</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00599">599</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9dd52a511289bfc29737084df23d2b2d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * Material::GetShader </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00562">562</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a73ffea2fc38dda32225057a5e08f70e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DWORD Material::GetThumbColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>j</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00623">623</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ada5a8c50624e5e3517a696e724f085af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Material::IsGlowing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00095">95</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6d91a735da85f4b71e8a3c72cd41791e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Material::IsSolid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00093">93</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a68165fc0818d3dfea81beb28ea82964b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Material::IsTranslucent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00094">94</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a64899b6820f52ecc9eac8fda9316813c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Material::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_material.html">Material</a> &amp;&#160;</td>
          <td class="paramname"><em>m</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8cpp_source.html#l00511">511</a> of file <a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4a6a284293154934980998c66e07177a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Material::TYPENAME </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00060">60</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ad1352cb440d739d1d1c3cac9206a1882"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color.html">Color</a> Material::ambient_color</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00102">102</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a38c5aaa9fa49e490963ed174c5a528a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::ambient_value</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00107">107</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a53984e10e1834eceb1b74d18a0f01021"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DWORD Material::blend</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00082">82</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6d9386e552d54e3af046e6ac82344b08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::brilliance</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00080">80</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9a2a6dbf9813485b5ff99b4ae823ccb3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::bump</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00081">81</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1547c9ea472db2db3bbe30ce41b701ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color.html">Color</a> Material::diffuse_color</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00103">103</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1d317e0043a5f3b63af5f7d15b107024"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::diffuse_value</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00108">108</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5f0aae034787f03b5007e579e57ad597"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color.html">Color</a> Material::emissive_color</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00105">105</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6d8d6fed7762c9cfc002f7de00e3345b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::emissive_value</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00110">110</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7ccfd56c0310ca12545afb515e81b85f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color_value.html">ColorValue</a> Material::Ka</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00075">75</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a05b646c99f9ab5df7092109916b506a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color_value.html">ColorValue</a> Material::Kd</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00076">76</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae0c2078b3d06c40fb9f875328e48458b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color_value.html">ColorValue</a> Material::Ke</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00078">78</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a03326968d7c667605aa2f70f8a551444"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color_value.html">ColorValue</a> Material::Ks</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00077">77</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9e0108950d9f5491378521d66ac62cce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Material::luminous</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00084">84</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae4469bbe1045ff827b5172edb07ec787"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char Material::name[<a class="el" href="struct_material.html#a520bcbf3d8b173b0cbbe84e8c22dac1fa89e33f1a5c91b45382a002b9a3ae1570">NAMELEN</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00072">72</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a40f9d86ecf678d45c4334f5d57a6cba7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::power</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00079">79</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="aec6903f5ffa2346a7fcf5c51ed870d68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char Material::shader[<a class="el" href="struct_material.html#a520bcbf3d8b173b0cbbe84e8c22dac1fa89e33f1a5c91b45382a002b9a3ae1570">NAMELEN</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00073">73</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0e8b3aa08dcf57340fea05bbdf05ea4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Material::shadow</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00083">83</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="acf865f0ffed7c19e627cc3a63d2ebafa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_color.html">Color</a> Material::specular_color</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00104">104</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0454007b787a706776be8d0e4441f202"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Material::specular_value</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00109">109</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a626e419ce051501f1e42053556e7da0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::tex_alternate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00090">90</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a47ed067eab2b560e370504d81852b935"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::tex_bumpmap</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00088">88</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a84da46b60cffcfa54aec42729a632538"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::tex_detail</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00091">91</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1d848bfac5c7f17f91557fd23c44b101"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::tex_diffuse</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00086">86</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9fa2bcd7f6ed2b43050629b55b87f030"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::tex_emissive</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00089">89</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="a97ced80ac2d8c1f0ef775477990af075"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::tex_specular</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00087">87</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<a class="anchor" id="afef9c383645db3df7ab524bba19ec45f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bitmap.html">Bitmap</a>* Material::thumbnail</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_polygon_8h_source.html#l00112">112</a> of file <a class="el" href="_polygon_8h_source.html">Polygon.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_polygon_8h_source.html">Polygon.h</a></li>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_polygon_8cpp_source.html">Polygon.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="struct_material.html">Material</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:56 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
